<%-- 
    Document   : header
    Created on : Jan 28, 2013, 2:30:47 PM
    Author     : NganNLK60334
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<link href="${pageContext.request.contextPath}/AdminCSS/adminHeader.css" rel="stylesheet" type="text/css">
<link href="AdminCSS/manageProduct.css" rel="stylesheet" type="text/css">




    <div id ="logo-wraper">
        <div id="logo" align="center" style="float: left; margin-left: 300px; cursor: pointer;">
            <font id ="logo-name"> e-HatClub </font> <br/>
            <font id="slogan">Phong cách nón của bạn </font>
        </div>
    </div>
 <div class="account">
            <c:choose>
                <c:when test="${not empty(sessionScope.USER)}">
                    <c:set var="user" value="${sessionScope.USER}"/>
                    <c:set var="role" value="${sessionScope.ROLE}"/>
                    <c:set var="fullname" value="${sessionScope.FULLNAME}"/>
                    <a style="float:left" href="Controller?btnAction=accountDetail"> <b>Welcome admin, ${sessionScope.USER}!</b></a>
                </c:when>
                <c:otherwise>
                    <a href="Controller?btnAction=account">Account</a>
                </c:otherwise>
            </c:choose>
            <c:if test="${not empty(sessionScope.USER)}">
                <div class="log-out">
                    <a href="Controller?btnAction=logout">Logout</a>
                </div>
            </c:if>
        </div>

    <div id="menu-tab-wraper">

        <div id ="menu-tab">
            <a href ="${pageContext.request.contextPath}/AdminController?action=manageProduct"> Manage Products </a>
            <a href ="${pageContext.request.contextPath}/AdminController?action=addProductLink">Add product</a>
            <a href ="${pageContext.request.contextPath}/AdminController?action=manageUserLink">Manage User</a>
        </div>
    </div>



